package com.ruoyi.remark.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 评论对象 remark
 * 
 * @author King
 * @date 2024-07-04
 */
public class Remark extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 评论编号 */
    private Long remarkId;

    /** 评论时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "评论时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date remarkTime;

    /** 评论内容 */
    @Excel(name = "评论内容")
    private String remarkContent;

    /** 评论人ID */
    @Excel(name = "评论人ID")
    private Long remarkRId;

    /** 农友圈ID */
    @Excel(name = "农友圈ID")
    private Long remarkCId;

    public void setRemarkId(Long remarkId) 
    {
        this.remarkId = remarkId;
    }

    public Long getRemarkId() 
    {
        return remarkId;
    }
    public void setRemarkTime(Date remarkTime) 
    {
        this.remarkTime = remarkTime;
    }

    public Date getRemarkTime() 
    {
        return remarkTime;
    }
    public void setRemarkContent(String remarkContent) 
    {
        this.remarkContent = remarkContent;
    }

    public String getRemarkContent() 
    {
        return remarkContent;
    }
    public void setRemarkRId(Long remarkRId) 
    {
        this.remarkRId = remarkRId;
    }

    public Long getRemarkRId() 
    {
        return remarkRId;
    }
    public void setRemarkCId(Long remarkCId) 
    {
        this.remarkCId = remarkCId;
    }

    public Long getRemarkCId() 
    {
        return remarkCId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("remarkId", getRemarkId())
            .append("remarkTime", getRemarkTime())
            .append("remarkContent", getRemarkContent())
            .append("remarkRId", getRemarkRId())
            .append("remarkCId", getRemarkCId())
            .toString();
    }
}
